home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Magazin/MacEasy 32
/
Mac Magazin and MacEasy Magazine CD - Issue 32.iso
/
Multimedia
/
MIDI
/
JUNO Librarian 1.1.7
/
Sample Scripts
/
24 Change HPF Freq
< prev
next >
Wrap
Text File
|
1994-01-28
|
384b
|
16 lines
tell application "JUNO Librarian"
activate -- if needed
set x to Parameter 17 of Window "Sample"
set y to (round (x ÷ 8) rounding down)
set y to y * 8
set z to x - y -- VCA, ENV, PWM switch
-- select 1 of 4
-- set x to z + 24 -- Freq 0
-- set x to z + 16 -- Freq 1
-- set x to z + 8 -- Freq 2
set x to z + 0 -- Freq 3
copy x to Parameter 17 of Window "Sample"
end tell